const crypto = require("crypto") // node自带的
const md5Password = (password) => {
  const md5 = crypto.createHash("md5") //指定加密类型
  const result = md5.update(password).digest("hex") //转为16进值
  return result
}
module.exports = md5Password
